package com.example.minemodule.adapter;

import android.widget.ImageView;

import androidx.annotation.Nullable;

import com.bumptech.glide.Glide;
import com.bumptech.glide.load.resource.bitmap.CenterCrop;
import com.bumptech.glide.load.resource.bitmap.CircleCrop;
import com.chad.library.adapter.base.BaseMultiItemQuickAdapter;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.example.minemodule.R;
import com.example.minemodule.entity.MoreMenuEntity;

import java.util.List;

public class MoreMenuAdapter extends BaseQuickAdapter<MoreMenuEntity, BaseViewHolder> {


    public MoreMenuAdapter(int layoutResId, @Nullable List<MoreMenuEntity> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, MoreMenuEntity item) {
//        helper.addOnClickListener(R.id.more_recycler_img);
//        helper.addOnClickListener(R.id.more_recycler_title);
//        helper.addOnClickListener(R.id.more_recycler_item);
//        Glide.with(mContext).load(item.getMore_recycler_img()).transform(new CenterCrop(),new CircleCrop()).into((ImageView) helper.getView(R.id.more_recycler_img));
//        helper.setText(R.id.more_recycler_title,item.getMore_recycler_title());
    }
}
